#!/usr/bin/env python3

import os

def main():
    print("main start pid = ", os.getpid())
    if os.fork() == 0:
        os.execl('execTest.py', 'execTest')
    else:
        print("main wait child....")
        input()
        print("main end")

if __name__ == "__main__":
    main()
